home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / xlib03.zip / XRECT.H < prev    next >
Text File  |  1993-04-05  |  2KB  |  62 lines

  1. /*-----------------------------------------------------------------------
  2. ;
  3. ; XRECT - header file
  4. ;
  5. ;
  6. ;
  7. ; ****** XLIB - Mode X graphics library                ****************
  8. ; ******                                               ****************
  9. ; ****** Written By Themie Gouthas                     ****************
  10. ; ****** Aeronautical Research Laboratory              ****************
  11. ; ****** Defence Science and Technology Organisation   ****************
  12. ; ****** Australia                                     ****************
  13. ;
  14. ; egg@dstos3.dsto.gov.au
  15. ; teg@bart.dsto.gov.au
  16. ;
  17. ;  Terminology & notes:
  18. ;         VRAM ==   Video RAM
  19. ;         SRAM ==   System RAM
  20. ;         X coordinates are in pixels unless explicitly stated
  21. ;
  22. ;-----------------------------------------------------------------------*/
  23.  
  24. #ifndef _XRECT_H_
  25. #define _XRECT_H_
  26.  
  27.  
  28. /* FUNCTIONS =========================================================== */
  29.  
  30. extern void x_rect_pattern(      /* draw a pattern filled rectangle      */
  31.          WORD StartX,
  32.          WORD StartY,
  33.          WORD EndX,
  34.          WORD EndY,
  35.          WORD PageBase,
  36.          BYTE far * Pattern);
  37.  
  38. extern void x_rect_fill(         /* draw a single colour filled rectangle */
  39.          WORD StartX,
  40.          WORD StartY,
  41.          WORD EndX,
  42.          WORD EndY,
  43.          WORD PageBase,
  44.      WORD color);
  45.  
  46. extern void x_cp_vid_rect(       /* Copy rect region within VRAM          */
  47.          WORD SourceStartX,
  48.          WORD SourceStartY,
  49.          WORD SourceEndX,
  50.          WORD SourceEndY,
  51.          WORD DestStartX,
  52.          WORD DestStartY,
  53.          WORD SourcePageBase,
  54.          WORD DestPageBase,
  55.          WORD SourceBitmapWidth,
  56.          WORD DestBitmapWidth);
  57.  
  58.  
  59. #endif
  60.  
  61.  
  62.